@layout("/common/_container.html"){
<script src="${ctxPath}/static/js/common/web-upload-execl.js"></script>
<div class="ibox float-e-margins">
    <div class="ibox-content">
        <div class="form-horizontal">

            <input type="hidden" id="id" value="">

            <div class="row">

                <div class="col-sm-8 b-r">
                    <div class="form-group">
                        <label class="col-sm-3 control-label"></label>
                        <div class="col-sm-9">
                            <div class="input-group">
                                <input type="text" class="form-control" id="transfer_name">
                                <input type="hidden" class="form-control" id="transferId">
                                <div class="input-group-btn">
                                    <button type="button" class="btn btn-default dropdown-toggle"
                                            data-toggle="dropdown">
                                        <span style="color: red">*</span>上游网点
                                        <span class="caret"></span>
                                    </button>
                                    <ul class="dropdown-menu dropdown-menu-left" role="menu">
                                    </ul>
                                </div>
                            </div>
                        </div>
                    </div>
                    <div class="form-group">
                        <label class="col-sm-3 control-label"></label>
                        <div class="col-sm-9">
                            <div class="input-group">
                                <input type="text" class="form-control" id="driver_name">
                                <input type="hidden" class="form-control" id="driverId">
                                <div class="input-group-btn">
                                    <button type="button" class="btn btn-default dropdown-toggle"
                                            data-toggle="dropdown">
                                        <span style="color: red">*</span>司机姓名
                                        <span class="caret"></span>
                                    </button>
                                    <ul class="dropdown-menu dropdown-menu-left" role="menu">
                                    </ul>
                                </div>
                            </div>
                        </div>
                    </div>
                    <div class="form-group">
                        <label class="col-sm-3 control-label">联系号码</label>
                        <div class="col-sm-9">
                            <input class="form-control" id="phone">
                        </div>
                    </div>
                    <div class="form-group">
                        <label class="col-sm-3 control-label"><span style="color: red">*</span>车牌号码</label>
                        <div class="col-sm-9">
                            <input class="form-control" id="car_no">
                        </div>
                    </div>
                    <div class="form-group">
                        <label class="col-sm-3 control-label"><span style="color: red">*</span>到达日期</label>
                        <div class="col-sm-9">
                            <input class="form-control" id="arrive_date"
                                   onclick="laydate({istime: false, format: 'YYYY-MM-DD'})">
                        </div>
                    </div>
                </div>
                <div class="col-sm-4 b-r">
                    <#execl id="avatar" name="Execl" underline="true" />
                </div>
            </div>

            <div class="row">
                <div class="col-sm-12 b-r" id="progress">
                </div>
            </div>
            <div class="row">
                <div class="col-sm-12 b-r" id="success_result" style="display:none">
                    <input type="hidden" id="batch_no">
                    <h3>开单结果</h3>
                    <div>&nbsp;&nbsp;本次开单共成功导入<span style="color:red" id="success"></span>条数据，其中：<span style="color:red"
                                                                                                       id="zt"></span>条自提
                        <span style="color:red" id="ps"></span>条配送 <span id="zz" style="color:red"></span>条中转
                    </div>
                    <!--<div>&nbsp;&nbsp;导入失败<span style="color:red" id="failure"></span>条，请检查数据格式。<a href='javascript:;' onclick='InitialOrderInfoDlg.downloadFailureList()' >下载失败列表</a></div>-->
                </div>

                <div class="col-sm-12 b-r" id="failure_result" style="display:none">
                    <h3>开单结果</h3>
                    <div>&nbsp;&nbsp;本次开单数据导入失败，其中符合条件数据<span style="color:red"
                                                              id="failure_success"></span>条，不符合条件数据<span
                            style="color:red" id="failure_failure"></span>条，请检查数据格式。<a href='javascript:;'
                                                                                       onclick='InitialOrderInfoDlg.downloadFailureList()'>下载失败列表</a>
                    </div>
                </div>

                <div class="col-sm-12 b-r" id="failure_list" style="display:none">
                    <h3>失败列表</h3>
                    <div>&nbsp;&nbsp;以下字段都为必填项。请下载失败列表，补全数据后，再次上传</div>
                    <div>
                        <table class="table">
                            <thead>
                            <tr>
                                <th>到达地</th>
                                <th>收货人</th>
                                <th>收货电话</th>
                                <th>货物名称</th>
                                <th>件数</th>
                                <th>交接方式</th>
                                <th>待通知发货</th>
                                <th>回单要求</th>
                            </tr>
                            </thead>
                            <tbody>
                            <tr>
                                <td>市 - 县/区</td>
                                <td>姓名</td>
                                <td>手机/座机</td>
                                <td></td>
                                <td>自然数</td>
                                <td>自提/配送</td>
                                <td>是/否</td>
                                <td>签原单/签回单</td>
                            </tr>

                        </table>
                    </div>
                </div>
            </div>

            <!-- <div class="row btn-group-m-t">
                 <div class="col-sm-10">
                     <#button btnCss="danger" name="关闭" id="cancel" icon="fa-eraser" clickFun="InitialOrderInfoDlg.closeDialog()"/>
                 </div>
             </div>-->
        </div>

    </div>
</div>
<script src="${ctxPath}/static/modular/system/initialOrder/initialOrder_info.js"></script>
@}
